package com.ourcraft.informationcollectionsystem.service.province.formQuery;

import com.alibaba.fastjson.JSONObject;
import com.ourcraft.informationcollectionsystem.entity.DataReportForm;
import com.ourcraft.informationcollectionsystem.entity.DTO.DataReportFormDTO;
import org.springframework.core.io.Resource;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public interface FormQueryService {
    public List<DataReportForm> getRequiredFormList(
            JSONObject company,
            JSONObject investigationPeriod
    );

    public List<DataReportFormDTO> getRequiredFormListJoin(
            JSONObject company,
            JSONObject investigationPeriod
    );

    public ResponseEntity<Resource> exportCurrentFormList(
            JSONObject company,
            JSONObject investigationPeriod
    );

}
